package cn.com.joycode.admin.entrance.controller.view;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Slf4j
@Controller
public class IndexController {

    @GetMapping("/")
    public String index() {
        //Object principal = SecurityContextHolder.getContext().getAuthentication().getPrincipal();
        //log.info("principal:{}", principal);


        return "admin/index";
    }

}
